<form onsubmit="return onSubmit()" method="post" id="form">
    <label>
        <input type="text" name="name" placeholder="Enter name" pattern="^[A-Za-z+$" required="">
        Enter name of the person
    </label>
    <br>

    <label>
        <input type="text" name="surname" placeholder="Enter surname" pattern="^[A-Za-z]+$" required="">
        Enter surname of the person
    </label>
    <br>

    <label>
        <input type="number" name="age" placeholder="Enter age" min="18" max="150" required="">
        Enter age of the person
    </label>
    <br>
    <br>

    <label>
        <input type="text" name="city" placeholder="Enter city" pattern="^[A-Za-z]+$" required="">
        Enter the city
    </label>
    <br>

    <label>
        <input type="text" name="street" placeholder="Enter street" required="">
        Enter the street
    </label>
    <br>

    <label>
        <input type="text" name="house" placeholder="Enter house" required="">
        Enter the house
    </label>
    <br>
    <br>

    <input type="submit" value="Submit">
</form>